package com.example.grape_utils.data;

import java.text.SimpleDateFormat;
import java.util.Locale;

public class DataUtils {
    public static final SimpleDateFormat simple_data_format = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.CHINA);

    public static String generateTimeName(String head, String tail){
        return head + simple_data_format.format(System.currentTimeMillis()) + tail;
    }

}
